<?php
$oUsers = UserHandler::getUsers();
?>
<div id="layer_usergroup_deleteuser" class="hidden" style="visibility: visible;">
<form action="index.php" method="post" name="form_usergroup_deleteuser">
<input type="hidden" name="sAction" value="usergroup-deleteuser">
<input type="hidden" name="sView" value="usergroup-view">
<input type="hidden" name="iUsergroup" value="<?php print $_REQUEST['iUsergroup'] ?>">
<input type="hidden" name="iUser" value="<?php print $_REQUEST['iUser'] ?>">
<table class="boxborder" cellspacing="0">
	<tr>
		<td class="boxhandle" colspan="2"><?php print msg('Delete user') ?></td>
	</tr>
	<tr>
		<td class="fieldname"><?php print msg('User') ?>:</td>
		<td class="fieldvalue">
			<select name="sUserlist" disabled>
<?php
print '<option value="'.$oUsers[$_REQUEST['iUser']]->sUser.'">'.$oUsers[$_REQUEST['iUser']]->sUser.'</option>';
?>
			</select>
		</td>
	</tr>
	<tr>
		<td class="boxbody center" colspan="2">
			<?php print msg('Are you sure you want to remove<br>this user from this usergroup?') ?>
		</td>
	</tr>
	<tr>
		<td class="boxbody center" colspan="2">
			<input type="submit" value="<?php print msg('OK') ?>">
			<input type="button" value="<?php print msg('Cancel') ?>" id="focus_usergroup_deleteuser" name="bCancel" onClick="layerHide('layer_usergroup_deleteuser');">
		</td>
	</tr>
</table>
</form>
</div>
